package com.witboot.client.department.api;

import com.witboot.client.department.dto.data.DepartmentVO;
import com.witboot.client.department.dto.query.DepartmentListByParamQuery;

import java.util.List;

/**
 * 部门相关
 *
 * @author sunxiaoizhi
 */
public interface IDepartmentService {
    /**
     * 根据部门名称查询
     *
     * @param departmentParamQuery 部门查询请求
     * @return MultiResponse
     */
    List<DepartmentVO> listByParam(DepartmentListByParamQuery departmentParamQuery);

    /**
     * 部门删除
     * @param ids ids
     * @return 删除数量
     */
    int deleteByIds(String[] ids);
}
